<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Class template int_adapter</title>
<link rel="stylesheet" href="../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
<link rel="up" href="../../date_time/doxy.html#doxygen.date_time_reference.int__adapter_8hpp" title="Header &lt;boost/date_time/int_adapter.hpp&gt;">
<link rel="prev" href="classboost_1_1date__time_1_1gregorian__calendar__base.html" title="Class template gregorian_calendar_base">
<link rel="next" href="int__adapter_8hpp_1abd1167730f6ec19e2a96e554465fdb30.html" title="Function template operator&lt;&lt;">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../boost.png"></td>
<td align="center"><a href="../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="classboost_1_1date__time_1_1gregorian__calendar__base.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../date_time/doxy.html#doxygen.date_time_reference.int__adapter_8hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="int__adapter_8hpp_1abd1167730f6ec19e2a96e554465fdb30.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Class template int_adapter</span></h2>
<p>boost::date_time::int_adapter — Adapter to create integer types with +-infinity, and not a value. </p>
</div>
<h2 class="refsynopsisdiv-title">Synopsis</h2>
<div class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../date_time/doxy.html#doxygen.date_time_reference.int__adapter_8hpp" title="Header &lt;boost/date_time/int_adapter.hpp&gt;">boost/date_time/int_adapter.hpp</a>&gt;

</span><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> int_type_<span class="special">&gt;</span> 
<span class="keyword">class</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <span class="special">{</span>
<span class="keyword">public</span><span class="special">:</span>
  <span class="comment">// types</span>
  <span class="keyword">typedef</span> <span class="identifier">int_type_</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a17e1eb3d41fbd5703fe8ef8de2bc42ee"></a><span class="identifier">int_type</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#id-1_3_12_15_3_29_1_1_1_5-bb">public member functions</a></span>
  <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1ad1716e59814aa43d8e2226e0e3058257"><span class="identifier">int_adapter</span></a><span class="special">(</span><span class="identifier">int_type</span><span class="special">)</span><span class="special">;</span>
  <span class="identifier">BOOST_CONSTEXPR</span> <span class="keyword">bool</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1aba1c4c18560aed19c078ac96411c40fc"><span class="identifier">is_infinity</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">BOOST_CONSTEXPR</span> <span class="keyword">bool</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1aa1727f80a4a975afd4db3418dcb15431"><span class="identifier">is_pos_infinity</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">BOOST_CONSTEXPR</span> <span class="keyword">bool</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a3788d074fb5e58ed347cd60fd8adcaee"><span class="identifier">is_neg_infinity</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">BOOST_CONSTEXPR</span> <span class="keyword">bool</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a7ee5c14960ab3c8f76a00d1cd227b681"><span class="identifier">is_nan</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">BOOST_CONSTEXPR</span> <span class="keyword">bool</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1add5fb71f5d2bb4470d76114d3b40bb89"><span class="identifier">is_special</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">BOOST_CONSTEXPR</span> <span class="keyword">bool</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a43b93b098f7fb789e3776d9d50852c49"><span class="keyword">operator</span><span class="special">==</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <span class="keyword">bool</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a240646652d48939100908dd148bc770d"><span class="keyword">operator</span><span class="special">==</span></a><span class="special">(</span><span class="keyword">const</span> <span class="keyword">int</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">BOOST_CONSTEXPR</span> <span class="keyword">bool</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a8c7a06f629dd5966d6686292d0e67d13"><span class="keyword">operator</span><span class="special">!=</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <span class="keyword">bool</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1af07785b144a64fab9f9e2196cb354fb0"><span class="keyword">operator</span><span class="special">!=</span></a><span class="special">(</span><span class="keyword">const</span> <span class="keyword">int</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">BOOST_CONSTEXPR</span> <span class="keyword">bool</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a125aaec212df62e91fc8dcc5d072cba2"><span class="keyword">operator</span><span class="special">&lt;</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <span class="keyword">bool</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1abf48d016cf34629cf0d2bad521915622"><span class="keyword">operator</span><span class="special">&lt;</span></a><span class="special">(</span><span class="keyword">const</span> <span class="keyword">int</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">BOOST_CONSTEXPR</span> <span class="keyword">bool</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1ada9cd63cfdaafb6476c4defedf974e26"><span class="keyword">operator</span><span class="special">&gt;</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">BOOST_CONSTEXPR</span> <span class="identifier">int_type</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1aaf8515566868c2ced22eca36edc0dfca"><span class="identifier">as_number</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">BOOST_CONSTEXPR</span> <span class="identifier">special_values</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a11213438fb3877cfc1dc5b78267a2b57"><span class="identifier">as_special</span></a><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> rhs_type<span class="special">&gt;</span> 
    <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> 
    <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a52097992c9275c26659c2859ec5639f5"><span class="keyword">operator</span><span class="special">+</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a><span class="special">&lt;</span> <span class="identifier">rhs_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1aafed50cf0555e4e9d1efe746bd554e5b"><span class="keyword">operator</span><span class="special">+</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">int_type</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> rhs_type<span class="special">&gt;</span> 
    <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> 
    <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a29c06aaf37461007d37ac676e00028a9"><span class="keyword">operator</span><span class="special">-</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a><span class="special">&lt;</span> <span class="identifier">rhs_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a610c2a4ae96141a1b4532afd0c473315"><span class="keyword">operator</span><span class="special">-</span></a><span class="special">(</span><span class="keyword">const</span> <span class="identifier">int_type</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a17a91c5ea5ca62912d122aa0af6bb494"><span class="keyword">operator</span><span class="special">*</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a914178ad653b453943c07cdeb31f8d6f"><span class="keyword">operator</span><span class="special">*</span></a><span class="special">(</span><span class="keyword">const</span> <span class="keyword">int</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1aa04bd94371b73f77e03775e01d17a5fb"><span class="keyword">operator</span><span class="special">/</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a6896326f958b70d5513de3b3ccf212af"><span class="keyword">operator</span><span class="special">/</span></a><span class="special">(</span><span class="keyword">const</span> <span class="keyword">int</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a110d3518b55071b87c88b12afaa8480e"><span class="keyword">operator</span><span class="special">%</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1acfe5cec38b740b06d68cf2b69c6de016"><span class="keyword">operator</span><span class="special">%</span></a><span class="special">(</span><span class="keyword">const</span> <span class="keyword">int</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#id-1_3_12_15_3_29_1_1_1_6-bb">public static functions</a></span>
  <span class="keyword">static</span> <span class="identifier">BOOST_CONSTEXPR</span> <span class="keyword">bool</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a7bdb748f745800a6e1c0184e760e6194"><span class="identifier">has_infinity</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="identifier">BOOST_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1ae2cafe0dae40a4b6d9edcb3fe7073bee"><span class="identifier">pos_infinity</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="identifier">BOOST_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1ae03a228ea716ed51bc355f528cc5fbbd"><span class="identifier">neg_infinity</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="identifier">BOOST_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a020068703fdbc679933b11dbc2e3fea9"><span class="identifier">not_a_number</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="identifier">BOOST_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <span class="identifier">max</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1ae0c5c020582a698c54e7bf72194cb159"><span class="identifier">BOOST_PREVENT_MACRO_SUBSTITUTION</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="identifier">BOOST_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <span class="identifier">min</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a4ff2e206c582a6763e9ff4b93eea4567"><span class="identifier">BOOST_PREVENT_MACRO_SUBSTITUTION</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1aa84bc6b93caaeb356bbd819689612cc2"><span class="identifier">from_special</span></a><span class="special">(</span><span class="identifier">special_values</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="identifier">BOOST_CONSTEXPR</span> <span class="keyword">bool</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a34ce4302ce5132973b5c6bef7c33d0c6"><span class="identifier">is_inf</span></a><span class="special">(</span><span class="identifier">int_type</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <span class="keyword">bool</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a31ff4b9f1c791bd7b7678ed4e9e5f3f3"><span class="identifier">is_neg_inf</span></a><span class="special">(</span><span class="identifier">int_type</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <span class="keyword">bool</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1ac6c55df9facaff819872e8b587f909ef"><span class="identifier">is_pos_inf</span></a><span class="special">(</span><span class="identifier">int_type</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <span class="keyword">bool</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1ab6060e97a097aee9a0b357b3ef0141cc"><span class="identifier">is_not_a_number</span></a><span class="special">(</span><span class="identifier">int_type</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <span class="identifier">special_values</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a4fcaf3aa85b8870aa082e86024a004b1"><span class="identifier">to_special</span></a><span class="special">(</span><span class="identifier">int_type</span><span class="special">)</span><span class="special">;</span>
  <span class="keyword">static</span> <span class="identifier">BOOST_CONSTEXPR</span> <span class="identifier">int_type</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a3d83fd60243791908aa4283db8b1668f"><span class="identifier">maxcount</span></a><span class="special">(</span><span class="special">)</span><span class="special">;</span>

  <span class="comment">// <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#id-1_3_12_15_3_29_1_1_1_7-bb">private member functions</a></span>
  <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <span class="keyword">int</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1ab2c3a2cb195c5caf7cadcb54a7e15d2e"><span class="identifier">compare</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> 
  <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1ad1fb15e424140a0dd07a147004a59578"><span class="identifier">mult_div_specials</span></a><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
  <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html#doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1af7d84b69af81e0c47ee426b5255c7722"><span class="identifier">mult_div_specials</span></a><span class="special">(</span><span class="keyword">const</span> <span class="keyword">int</span> <span class="special">&amp;</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id-1.3.12.15.3.29.3.4"></a><h2>Description</h2>
<p>This class is used internally in counted date/time representations. It adds the floating point like features of infinities and not a number. It also provides mathmatical operations with consideration to special values following these rules: </p>
<pre class="programlisting"><span class="special">+</span><span class="identifier">infinity</span>  <span class="special">-</span>  <span class="identifier">infinity</span>  <span class="special">==</span> <span class="identifier">Not</span> <span class="identifier">A</span> <span class="identifier">Number</span> <span class="special">(</span><span class="identifier">NAN</span><span class="special">)</span>
 <span class="identifier">infinity</span>  <span class="special">*</span>  <span class="identifier">non</span><span class="special">-</span><span class="identifier">zero</span>  <span class="special">==</span> <span class="identifier">infinity</span>
 <span class="identifier">infinity</span>  <span class="special">*</span>  <span class="identifier">zero</span>      <span class="special">==</span> <span class="identifier">NAN</span>
<span class="special">+</span><span class="identifier">infinity</span>  <span class="special">*</span> <span class="special">-</span><span class="identifier">integer</span>   <span class="special">==</span> <span class="special">-</span><span class="identifier">infinity</span>
 <span class="identifier">infinity</span>  <span class="special">/</span>  <span class="identifier">infinity</span>  <span class="special">==</span> <span class="identifier">NAN</span>
 <span class="identifier">infinity</span>  <span class="special">*</span>  <span class="identifier">infinity</span>  <span class="special">==</span> <span class="identifier">infinity</span> 
</pre>
<p> </p>
<div class="refsect2">
<a name="id-1.3.12.15.3.29.3.4.3"></a><h3>
<a name="id-1_3_12_15_3_29_1_1_1_5-bb"></a><code class="computeroutput">int_adapter</code> public member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><pre class="literallayout"><a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1ad1716e59814aa43d8e2226e0e3058257"></a><span class="identifier">int_adapter</span><span class="special">(</span><span class="identifier">int_type</span> v<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">BOOST_CONSTEXPR</span> <span class="keyword">bool</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1aba1c4c18560aed19c078ac96411c40fc"></a><span class="identifier">is_infinity</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">BOOST_CONSTEXPR</span> <span class="keyword">bool</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1aa1727f80a4a975afd4db3418dcb15431"></a><span class="identifier">is_pos_infinity</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">BOOST_CONSTEXPR</span> <span class="keyword">bool</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a3788d074fb5e58ed347cd60fd8adcaee"></a><span class="identifier">is_neg_infinity</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">BOOST_CONSTEXPR</span> <span class="keyword">bool</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a7ee5c14960ab3c8f76a00d1cd227b681"></a><span class="identifier">is_nan</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">BOOST_CONSTEXPR</span> <span class="keyword">bool</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1add5fb71f5d2bb4470d76114d3b40bb89"></a><span class="identifier">is_special</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">BOOST_CONSTEXPR</span> <span class="keyword">bool</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a43b93b098f7fb789e3776d9d50852c49"></a><span class="keyword">operator</span><span class="special">==</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <span class="special">&amp;</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">BOOST_CXX14_CONSTEXPR</span> <span class="keyword">bool</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a240646652d48939100908dd148bc770d"></a><span class="keyword">operator</span><span class="special">==</span><span class="special">(</span><span class="keyword">const</span> <span class="keyword">int</span> <span class="special">&amp;</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">BOOST_CONSTEXPR</span> <span class="keyword">bool</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a8c7a06f629dd5966d6686292d0e67d13"></a><span class="keyword">operator</span><span class="special">!=</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <span class="special">&amp;</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">BOOST_CXX14_CONSTEXPR</span> <span class="keyword">bool</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1af07785b144a64fab9f9e2196cb354fb0"></a><span class="keyword">operator</span><span class="special">!=</span><span class="special">(</span><span class="keyword">const</span> <span class="keyword">int</span> <span class="special">&amp;</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">BOOST_CONSTEXPR</span> <span class="keyword">bool</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a125aaec212df62e91fc8dcc5d072cba2"></a><span class="keyword">operator</span><span class="special">&lt;</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <span class="special">&amp;</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">BOOST_CXX14_CONSTEXPR</span> <span class="keyword">bool</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1abf48d016cf34629cf0d2bad521915622"></a><span class="keyword">operator</span><span class="special">&lt;</span><span class="special">(</span><span class="keyword">const</span> <span class="keyword">int</span> <span class="special">&amp;</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">BOOST_CONSTEXPR</span> <span class="keyword">bool</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1ada9cd63cfdaafb6476c4defedf974e26"></a><span class="keyword">operator</span><span class="special">&gt;</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <span class="special">&amp;</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">BOOST_CONSTEXPR</span> <span class="identifier">int_type</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1aaf8515566868c2ced22eca36edc0dfca"></a><span class="identifier">as_number</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">BOOST_CONSTEXPR</span> <span class="identifier">special_values</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a11213438fb3877cfc1dc5b78267a2b57"></a><span class="identifier">as_special</span><span class="special">(</span><span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Returns either special value type or is_not_special. </li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> rhs_type<span class="special">&gt;</span> 
  <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> 
  <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a52097992c9275c26659c2859ec5639f5"></a><span class="keyword">operator</span><span class="special">+</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a><span class="special">&lt;</span> <span class="identifier">rhs_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>
<p>Operator allows for adding dissimilar <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> types. The return type will match that of the the calling object's type </p>
</li>
<li class="listitem"><pre class="literallayout"><span class="identifier">BOOST_CXX14_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1aafed50cf0555e4e9d1efe746bd554e5b"></a><span class="keyword">operator</span><span class="special">+</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">int_type</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">template</span><span class="special">&lt;</span><span class="keyword">typename</span> rhs_type<span class="special">&gt;</span> 
  <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> 
  <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a29c06aaf37461007d37ac676e00028a9"></a><span class="keyword">operator</span><span class="special">-</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a><span class="special">&lt;</span> <span class="identifier">rhs_type</span> <span class="special">&gt;</span> <span class="special">&amp;</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>
<p>Operator allows for subtracting dissimilar <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> types. The return type will match that of the the calling object's type </p>
</li>
<li class="listitem"><pre class="literallayout"><span class="identifier">BOOST_CXX14_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a610c2a4ae96141a1b4532afd0c473315"></a><span class="keyword">operator</span><span class="special">-</span><span class="special">(</span><span class="keyword">const</span> <span class="identifier">int_type</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="identifier">BOOST_CXX14_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a17a91c5ea5ca62912d122aa0af6bb494"></a><span class="keyword">operator</span><span class="special">*</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <span class="special">&amp;</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">BOOST_CXX14_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a914178ad653b453943c07cdeb31f8d6f"></a><span class="keyword">operator</span><span class="special">*</span><span class="special">(</span><span class="keyword">const</span> <span class="keyword">int</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>
<p>Provided for cases when automatic conversion from 'int' to '<a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a>' causes incorrect results. </p>
</li>
<li class="listitem"><pre class="literallayout"><span class="identifier">BOOST_CXX14_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1aa04bd94371b73f77e03775e01d17a5fb"></a><span class="keyword">operator</span><span class="special">/</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <span class="special">&amp;</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">BOOST_CXX14_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a6896326f958b70d5513de3b3ccf212af"></a><span class="keyword">operator</span><span class="special">/</span><span class="special">(</span><span class="keyword">const</span> <span class="keyword">int</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>
<p>Provided for cases when automatic conversion from 'int' to '<a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a>' causes incorrect results. </p>
</li>
<li class="listitem"><pre class="literallayout"><span class="identifier">BOOST_CXX14_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a110d3518b55071b87c88b12afaa8480e"></a><span class="keyword">operator</span><span class="special">%</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <span class="special">&amp;</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre></li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">BOOST_CXX14_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1acfe5cec38b740b06d68cf2b69c6de016"></a><span class="keyword">operator</span><span class="special">%</span><span class="special">(</span><span class="keyword">const</span> <span class="keyword">int</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>
<p>Provided for cases when automatic conversion from 'int' to '<a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a>' causes incorrect results. </p>
</li>
</ol></div>
</div>
<div class="refsect2">
<a name="id-1.3.12.15.3.29.3.4.4"></a><h3>
<a name="id-1_3_12_15_3_29_1_1_1_6-bb"></a><code class="computeroutput">int_adapter</code> public static functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">BOOST_CONSTEXPR</span> <span class="keyword">bool</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a7bdb748f745800a6e1c0184e760e6194"></a><span class="identifier">has_infinity</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">BOOST_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1ae2cafe0dae40a4b6d9edcb3fe7073bee"></a><span class="identifier">pos_infinity</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">BOOST_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1ae03a228ea716ed51bc355f528cc5fbbd"></a><span class="identifier">neg_infinity</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">BOOST_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a020068703fdbc679933b11dbc2e3fea9"></a><span class="identifier">not_a_number</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">BOOST_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <span class="identifier">max</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1ae0c5c020582a698c54e7bf72194cb159"></a><span class="identifier">BOOST_PREVENT_MACRO_SUBSTITUTION</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">BOOST_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <span class="identifier">min</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a4ff2e206c582a6763e9ff4b93eea4567"></a><span class="identifier">BOOST_PREVENT_MACRO_SUBSTITUTION</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1aa84bc6b93caaeb356bbd819689612cc2"></a><span class="identifier">from_special</span><span class="special">(</span><span class="identifier">special_values</span> sv<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">BOOST_CONSTEXPR</span> <span class="keyword">bool</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a34ce4302ce5132973b5c6bef7c33d0c6"></a><span class="identifier">is_inf</span><span class="special">(</span><span class="identifier">int_type</span> v<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <span class="keyword">bool</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a31ff4b9f1c791bd7b7678ed4e9e5f3f3"></a><span class="identifier">is_neg_inf</span><span class="special">(</span><span class="identifier">int_type</span> v<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <span class="keyword">bool</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1ac6c55df9facaff819872e8b587f909ef"></a><span class="identifier">is_pos_inf</span><span class="special">(</span><span class="identifier">int_type</span> v<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <span class="keyword">bool</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1ab6060e97a097aee9a0b357b3ef0141cc"></a><span class="identifier">is_not_a_number</span><span class="special">(</span><span class="identifier">int_type</span> v<span class="special">)</span><span class="special">;</span></pre></li>
<li class="listitem">
<pre class="literallayout"><span class="keyword">static</span> <span class="identifier">BOOST_CXX14_CONSTEXPR</span> <span class="identifier">special_values</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a4fcaf3aa85b8870aa082e86024a004b1"></a><span class="identifier">to_special</span><span class="special">(</span><span class="identifier">int_type</span> v<span class="special">)</span><span class="special">;</span></pre>Returns either special value type or is_not_special. </li>
<li class="listitem"><pre class="literallayout"><span class="keyword">static</span> <span class="identifier">BOOST_CONSTEXPR</span> <span class="identifier">int_type</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1a3d83fd60243791908aa4283db8b1668f"></a><span class="identifier">maxcount</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></li>
</ol></div>
</div>
<div class="refsect2">
<a name="id-1.3.12.15.3.29.3.4.5"></a><h3>
<a name="id-1_3_12_15_3_29_1_1_1_7-bb"></a><code class="computeroutput">int_adapter</code> private member functions</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
<pre class="literallayout"><span class="identifier">BOOST_CXX14_CONSTEXPR</span> <span class="keyword">int</span> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1ab2c3a2cb195c5caf7cadcb54a7e15d2e"></a><span class="identifier">compare</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <span class="special">&amp;</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>returns -1, 0, 1, or 2 if 'this' is &lt;, ==, &gt;, or 'nan comparison' rhs </li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">BOOST_CXX14_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> 
<a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1ad1fb15e424140a0dd07a147004a59578"></a><span class="identifier">mult_div_specials</span><span class="special">(</span><span class="keyword">const</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <span class="special">&amp;</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Assumes at least 'this' or 'rhs' is a special value. </li>
<li class="listitem">
<pre class="literallayout"><span class="identifier">BOOST_CXX14_CONSTEXPR</span> <a class="link" href="classboost_1_1date__time_1_1int__adapter.html" title="Class template int_adapter">int_adapter</a> <a name="doxygen.date_time_reference.classboost_1_1date__time_1_1int__adapter_1af7d84b69af81e0c47ee426b5255c7722"></a><span class="identifier">mult_div_specials</span><span class="special">(</span><span class="keyword">const</span> <span class="keyword">int</span> <span class="special">&amp;</span> rhs<span class="special">)</span> <span class="keyword">const</span><span class="special">;</span></pre>Assumes 'this' is a special value. </li>
</ol></div>
</div>
</div>
</div>
<div class="copyright-footer">Copyright © 2001-2005 CrystalClear Software, Inc<p>Subject to the Boost Software License, Version 1.0. (See accompanying file
    <code class="filename">LICENSE_1_0.txt</code> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)</p>
</div>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="classboost_1_1date__time_1_1gregorian__calendar__base.html"><img src="../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../date_time/doxy.html#doxygen.date_time_reference.int__adapter_8hpp"><img src="../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../index.html"><img src="../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="int__adapter_8hpp_1abd1167730f6ec19e2a96e554465fdb30.html"><img src="../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
